package com.huluobo.high3videoproject.mvp.login.presenter;

import com.huluobo.high3videoproject.bean.UserBeanResult;

import io.reactivex.Observable;

public interface LoginContract {
    interface Model {
        Observable<UserBeanResult> login(String username, String password);
    }

    interface Presenter {
        void login(String username, String password);
    }

    interface View {
        void onLoginSuccess(UserBeanResult userBeanResult);

        void onLoginFailed(String error);
    }
}
